From 497a43a4ba508410ffa4859a1f3d367b75327939 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 20 Feb 2020 21:22:16 -0500 Subject: [PATCH] gdk: Drop event structs from the headers All events are GdkEvents now. --- gdk/gdkevents.h | 20 -------------------- gdk/gdkeventsprivate.h | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index c08265d739..888ca9e5c5 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -99,26 +99,6 @@ G_BEGIN_DECLS #define GDK_BUTTON_SECONDARY (3) - -typedef struct _GdkEventAny GdkEventAny; -typedef struct _GdkEventMotion GdkEventMotion; -typedef struct _GdkEventButton GdkEventButton; -typedef struct _GdkEventTouch GdkEventTouch; -typedef struct _GdkEventScroll GdkEventScroll; -typedef struct _GdkEventKey GdkEventKey; -typedef struct _GdkEventFocus GdkEventFocus; -typedef struct _GdkEventCrossing GdkEventCrossing; -typedef struct _GdkEventConfigure GdkEventConfigure; -typedef struct _GdkEventProximity GdkEventProximity; -typedef struct _GdkEventDND GdkEventDND; -typedef struct _GdkEventSetting GdkEventSetting; -typedef struct _GdkEventGrabBroken GdkEventGrabBroken; -typedef struct _GdkEventTouchpadSwipe GdkEventTouchpadSwipe; -typedef struct _GdkEventTouchpadPinch GdkEventTouchpadPinch; -typedef struct _GdkEventPadButton GdkEventPadButton; -typedef struct _GdkEventPadAxis GdkEventPadAxis; -typedef struct _GdkEventPadGroupMode GdkEventPadGroupMode; - typedef struct _GdkEventSequence GdkEventSequence; typedef union _GdkEvent GdkEvent; diff --git a/gdk/gdkeventsprivate.h b/gdk/gdkeventsprivate.h index 6505d548d1..6cc2aadcba 100644 --- a/gdk/gdkeventsprivate.h +++ b/gdk/gdkeventsprivate.h @@ -30,6 +30,26 @@ #include #include + +typedef struct _GdkEventAny GdkEventAny; +typedef struct _GdkEventMotion GdkEventMotion; +typedef struct _GdkEventButton GdkEventButton; +typedef struct _GdkEventTouch GdkEventTouch; +typedef struct _GdkEventScroll GdkEventScroll; +typedef struct _GdkEventKey GdkEventKey; +typedef struct _GdkEventFocus GdkEventFocus; +typedef struct _GdkEventCrossing GdkEventCrossing; +typedef struct _GdkEventConfigure GdkEventConfigure; +typedef struct _GdkEventProximity GdkEventProximity; +typedef struct _GdkEventDND GdkEventDND; +typedef struct _GdkEventSetting GdkEventSetting; +typedef struct _GdkEventGrabBroken GdkEventGrabBroken; +typedef struct _GdkEventTouchpadSwipe GdkEventTouchpadSwipe; +typedef struct _GdkEventTouchpadPinch GdkEventTouchpadPinch; +typedef struct _GdkEventPadButton GdkEventPadButton; +typedef struct _GdkEventPadAxis GdkEventPadAxis; +typedef struct _GdkEventPadGroupMode GdkEventPadGroupMode; + /* * GdkEventAny: * @type: the type of the event. -- 2.30.2